package br.net.woodstock.tickettoride.api.access;

import java.util.Collection;

import br.net.woodstock.rockframework.domain.service.Service;
import br.net.woodstock.tickettoride.orm.User;

public interface UserService extends Service {

	User getById(Integer id);

	User getByLogin(String login);

	User getByLoginPassword(String login, String password);

	void save(User user);

	void update(User user);

	void delete(Integer id);

	Collection<User> listByFilter(String filter);

}
